package weixinkeji.dev.dc.base.unit.h;

import MyUI.ligerUI.service.LigeruiService;
import cache.service.IMYCache;
import com.alibaba.fastjson.JSON;
import sys.wx.c.ATR;
import sys.wx.ann.hm.H;
import sys.wx.ann.hm.M;
import weixinkeji.dev.dc.base.unit.cache.UnitCache;

/**
 *
 * @author IK
 */
@H("weixinkeji/dev/dc/base/unit/s")
public class UnitSManager {

    @M("/manager")
    public static String s(ATR a) {//weixinkeji/dev/dc/base/unit/s/manager.imy
        a.printOne(LigeruiService.getGRID(IMYCache.get(UnitCache.KEY)));
        return null;
    }
    
    @M("/json")
    public static String s2(ATR a) {//weixinkeji/dev/dc/base/unit/s/json.imy
        a.printOne(JSON.toJSONString(IMYCache.get(UnitCache.KEY)));
        return null;
    }
    
}
